<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	public function _initAutoload(){
		$front = Zend_Controller_Front::getInstance();
		$front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler(array(
                                'module'     => 'error',
                                'controller' => 'error',
                                'action'     => 'error'
                                )));
	}

	protected function _initRoute()
	{
		$front = Zend_Controller_Front::getInstance();
		/*
		 $router = $front->getRouter();
		 // Index router
		 $indexRouter = new Zend_Controller_Router_Route(
		 'default/:action/*',
		 array(
		 'module' => 'default',
		 'controller' => 'index',
		 'action'	=> 'index'
		 )
		 );
		 $router->addRoute('index', $indexRouter);
		 */
	}
}

